import request from '@/utils/request'

// 获取图文群发总数据
export function getTweetsData(params) {
  return request({
    url: '/statement/getarticletotal',
    method: 'get',
    params
  })
}

// 导出微信图文分析
export function exportTaskData(params) {
  return request({
    url: '/statement/weChatAtarticDownLoad',
    method: 'get',
    params,
    responseType: 'blob'
  })
}

// 推送任务明细导出
export function exportTweetDetails(params) {
  return request({
    url: '/statement/downloadDetailNews',
    method: 'get',
    params
  })
}

// 会议主数据导出
export function exportMeetingData(params) {
  return request({
    url: '/statement/meetingMainExcel',
    method: 'get',
    params,
    responseType: 'blob'
  })
}

// 会议预约名单导出
export function exportMeetingApply(params) {
  return request({
    url: '/statement/downloadMeetingUser',
    method: 'get',
    params,
    responseType: 'blob'
  })
}

// 会议签到名单导出
export function exportMeetingSign(params) {
  return request({
    url: '/statement/downloadMeetingSign',
    method: 'get',
    params,
    responseType: 'blob'
  })
}
